<?php
/**
 * Create By: PhpStorm
 * User: yuanxuncheng
 * File: Wxpay.php
 * Date: 2017/1/2
 * Time: 23:13
 */

namespace app\api\model\page\payment;

use app\library\Error;
use app\library\PageBase;
use think\Validate;
use think\Cache;

class ReturnPay extends PageBase
{


    public function __construct()
    {
        parent::__construct();
    }

    public function excute($param)
    {
        $ret = $this->checkToken($param);
        if (false === $ret) {
            return $this->getRes(Error::ERR_NO_AUTH);
        }

        return $this->getRes();
    }
}
